<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>spirv-tools</Name>
        <Homepage>https://www.khronos.org/vulkan/</Homepage>
        <Packager>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Packager>
        <License>BSD</License>
        <IsA>library</IsA>
        <Icon>vulkan</Icon>
        <Summary>API and commands for processing SPIR-V modules</Summary>
        <Description>API and commands for processing SPIR-V modules</Description>
        <Archive sha1sum="f0478402e0cee638a70384d1873b0fd8b377255a" type="targz" name="SPIRV-Tools-2023.1.tar.gz">https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/v2023.1.tar.gz</Archive>
<!--         <Archive sha1sum="49657f53dd391ab9dad0cb1ce47001d673a2c7ab" type="targz" target="SPIRV-Tools-2021.2">https://github.com/KhronosGroup/SPIRV-Headers/archive/1.5.4.raytracing.fixed.tar.gz</Archive> -->
        <BuildDependencies>
            <Dependency>cmake</Dependency>
            <Dependency versionFrom="1.3.231.1">spirv-headers</Dependency>
            <Dependency>python3-devel</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch level="1">spirv-tools-gcc11.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>spirv-tools</Name>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib/libSPIRV-Tools*</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>spirv-tools-32bit</Name>
        <BuildType>emul32</BuildType>
        <PartOf>emul32</PartOf>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>

     <Package>
        <Name>spirv-tools-devel</Name>
         <RuntimeDependencies>
            <Dependency release="current">spirv-tools</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/pkgconfig</Path>
            <Path fileType="library">/usr/lib/cmake</Path>
        </Files>
    </Package>

    <History>
        <Update release="13">
            <Date>2023-03-14</Date>
            <Version>2023.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2022-11-27</Date>
            <Version>2022.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2022-09-26</Date>
            <Version>2022.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2022-07-23</Date>
            <Version>2022.2</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2022-06-19</Date>
            <Version>2022.2</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2022-04-21</Date>
            <Version>2022.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2021-12-17</Date>
            <Version>2021.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2021-10-24</Date>
            <Version>2021.3</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2021-08-29</Date>
            <Version>2021.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2021-06-27</Date>
            <Version>2021.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2021-02-01</Date>
            <Version>2020.6</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2020-07-06</Date>
            <Version>2020.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2020-01-11</Date>
            <Version>2019.4</Version>
            <Comment>First release</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
    </History>
</PISI>
